﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200018D RID: 397
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CCOCGNOMNHL : IMessage<CCOCGNOMNHL>, IMessage, IEquatable<CCOCGNOMNHL>, IDeepCloneable<CCOCGNOMNHL>, IBufferMessage
	{
		// Token: 0x17000530 RID: 1328
		// (get) Token: 0x060011C8 RID: 4552 RVA: 0x0003303C File Offset: 0x0003123C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CCOCGNOMNHL> Parser
		{
			get
			{
				return CCOCGNOMNHL._parser;
			}
		}

		// Token: 0x17000531 RID: 1329
		// (get) Token: 0x060011C9 RID: 4553 RVA: 0x00033043 File Offset: 0x00031243
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CCOCGNOMNHLReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000532 RID: 1330
		// (get) Token: 0x060011CA RID: 4554 RVA: 0x00033055 File Offset: 0x00031255
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CCOCGNOMNHL.Descriptor;
			}
		}

		// Token: 0x060011CB RID: 4555 RVA: 0x0003305C File Offset: 0x0003125C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CCOCGNOMNHL()
		{
		}

		// Token: 0x060011CC RID: 4556 RVA: 0x00033064 File Offset: 0x00031264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CCOCGNOMNHL(CCOCGNOMNHL other) : this()
		{
			this.isWin_ = other.isWin_;
			this.eCOBGIIEGHI_ = other.eCOBGIIEGHI_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060011CD RID: 4557 RVA: 0x00033095 File Offset: 0x00031295
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CCOCGNOMNHL Clone()
		{
			return new CCOCGNOMNHL(this);
		}

		// Token: 0x17000533 RID: 1331
		// (get) Token: 0x060011CE RID: 4558 RVA: 0x0003309D File Offset: 0x0003129D
		// (set) Token: 0x060011CF RID: 4559 RVA: 0x000330A5 File Offset: 0x000312A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsWin
		{
			get
			{
				return this.isWin_;
			}
			set
			{
				this.isWin_ = value;
			}
		}

		// Token: 0x17000534 RID: 1332
		// (get) Token: 0x060011D0 RID: 4560 RVA: 0x000330AE File Offset: 0x000312AE
		// (set) Token: 0x060011D1 RID: 4561 RVA: 0x000330B6 File Offset: 0x000312B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ECOBGIIEGHI
		{
			get
			{
				return this.eCOBGIIEGHI_;
			}
			set
			{
				this.eCOBGIIEGHI_ = value;
			}
		}

		// Token: 0x060011D2 RID: 4562 RVA: 0x000330BF File Offset: 0x000312BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CCOCGNOMNHL);
		}

		// Token: 0x060011D3 RID: 4563 RVA: 0x000330CD File Offset: 0x000312CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CCOCGNOMNHL other)
		{
			return other != null && (other == this || (this.IsWin == other.IsWin && this.ECOBGIIEGHI == other.ECOBGIIEGHI && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060011D4 RID: 4564 RVA: 0x0003310C File Offset: 0x0003130C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IsWin)
			{
				num ^= this.IsWin.GetHashCode();
			}
			if (this.ECOBGIIEGHI != 0U)
			{
				num ^= this.ECOBGIIEGHI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060011D5 RID: 4565 RVA: 0x00033164 File Offset: 0x00031364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060011D6 RID: 4566 RVA: 0x0003316C File Offset: 0x0003136C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060011D7 RID: 4567 RVA: 0x00033178 File Offset: 0x00031378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IsWin)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.IsWin);
			}
			if (this.ECOBGIIEGHI != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ECOBGIIEGHI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060011D8 RID: 4568 RVA: 0x000331D4 File Offset: 0x000313D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IsWin)
			{
				num += 2;
			}
			if (this.ECOBGIIEGHI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ECOBGIIEGHI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060011D9 RID: 4569 RVA: 0x00033220 File Offset: 0x00031420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CCOCGNOMNHL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IsWin)
			{
				this.IsWin = other.IsWin;
			}
			if (other.ECOBGIIEGHI != 0U)
			{
				this.ECOBGIIEGHI = other.ECOBGIIEGHI;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060011DA RID: 4570 RVA: 0x00033270 File Offset: 0x00031470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060011DB RID: 4571 RVA: 0x0003327C File Offset: 0x0003147C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ECOBGIIEGHI = input.ReadUInt32();
					}
				}
				else
				{
					this.IsWin = input.ReadBool();
				}
			}
		}

		// Token: 0x0400075E RID: 1886
		private static readonly MessageParser<CCOCGNOMNHL> _parser = new MessageParser<CCOCGNOMNHL>(() => new CCOCGNOMNHL());

		// Token: 0x0400075F RID: 1887
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000760 RID: 1888
		public const int IsWinFieldNumber = 2;

		// Token: 0x04000761 RID: 1889
		private bool isWin_;

		// Token: 0x04000762 RID: 1890
		public const int ECOBGIIEGHIFieldNumber = 7;

		// Token: 0x04000763 RID: 1891
		private uint eCOBGIIEGHI_;
	}
}
